//
// Created by chizuru on 2025/9/2.
//

#pragma once

#include "DeviceComm.h"
#include "ICommand.h"
#include "Invoker.h"
#include "RegisterReadCommand.h"
#include "RegisterWriteCommand.h"
#include "OperationResult.h"
#include "ITransactionCommand.h"
#include <memory>


class TransactionCommandBatchWrite : public camera_link_bobcat::ITransactionCommand {
public:
    TransactionCommandBatchWrite(CameraDevice& comm, const std::vector<std::pair<uint16_t,uint32_t>>& ops, RetryPolicy rp);

    OperationResult execute() ;
};

